package com.fowo.api.pda.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.entity.WarehouseBin;
import com.fowo.api.model.stock.in.StockInItemVo;
import com.fowo.api.model.stock.in.product.StockInProductItemVo;
import com.fowo.api.pda.model.PdaPutawayVo;
import com.fowo.api.pda.model.ProductInventoryVo;
import com.fowo.api.pda.model.PutawayParamPo;
import com.fowo.api.pda.model.PutawayVo;

import java.util.List;

public interface PdaPutawayService {

    Page<PdaPutawayVo> pageSearch(PutawayParamPo search);

    PdaPutawayVo getInfo(Long id);

    StockInProductItemVo getProductItemVo(Long id, String sku);

    List<String> getRecommendBin(Long stockId,String sku,Long shopId,String fnsku);

    List<WarehouseBin> getBinByWarehouse(Long stockId);

    List<ProductInventoryVo> getProduct(Long binId, String sku) throws Exception ;

    void putaway(PutawayVo vo) throws Exception;
}
